package com.zhz.lib.cms.domain.custom;

import java.util.Date;

/**
 * Custom entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Custom implements java.io.Serializable {

	// Fields

	private Integer customId;
	private String title;
	private String content;
	private String writer;
	private String level;
	private String keyword;
	private String sortType;
	private Date pubDate;
	private Integer hit;
	private Integer aproveState;
	private Date aproveTime;
	private String editor;
	private Date editorTime;
	private Integer sortNumber;
	private Integer ifDelete;

	// Constructors

	/** default constructor */
	public Custom() {
	}

	/** minimal constructor */
	public Custom(int ifDelete) {
		this.ifDelete = ifDelete;
	}

	/** full constructor */
	public Custom(String title, String content, String editor, String writer,
			String level, String keyword, Integer aproveState, Date aproveTime,
			String sortType, Date pubDate, Integer hit, int ifDelete,
			Integer sortNumber) {
		this.title = title;
		this.content = content;
		this.editor = editor;
		this.writer = writer;
		this.level = level;
		this.keyword = keyword;
		this.aproveState = aproveState;
		this.aproveTime = aproveTime;
		this.sortType = sortType;
		this.pubDate = pubDate;
		this.hit = hit;
		this.ifDelete = ifDelete;
		this.sortNumber = sortNumber;
	}

	// Property accessors

	public Integer getCustomId() {
		return this.customId;
	}

	public void setCustomId(Integer customId) {
		this.customId = customId;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getWriter() {
		return this.writer;
	}

	public void setWriter(String writer) {
		this.writer = writer;
	}

	public String getLevel() {
		return this.level;
	}

	public void setLevel(String level) {
		this.level = level;
	}

	public String getKeyword() {
		return this.keyword;
	}

	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}

	public void setSortType(String sortType) {
		this.sortType = sortType;
	}

	public Date getPubDate() {
		return this.pubDate;
	}

	public void setPubDate(Date pubDate) {
		this.pubDate = pubDate;
	}

	public Integer getHit() {
		return this.hit;
	}

	public void setHit(Integer hit) {
		this.hit = hit;
	}

	public Integer getAproveState() {
		return this.aproveState;
	}

	public void setAproveState(Integer aproveState) {
		this.aproveState = aproveState;
	}

	public Date getAproveTime() {
		return this.aproveTime;
	}

	public void setAproveTime(Date aproveTime) {
		this.aproveTime = aproveTime;
	}

	public String getSortType() {
		return this.sortType;
	}

	public String getEditor() {
		return this.editor;
	}

	public void setEditor(String editor) {
		this.editor = editor;
	}

	public Date getEditorTime() {
		return editorTime;
	}

	public void setEditorTime(Date editorTime) {
		this.editorTime = editorTime;
	}

	public int getIfDelete() {
		return this.ifDelete;
	}

	public void setIfDelete(int ifDelete) {
		this.ifDelete = ifDelete;
	}

	/**
	 * @return the sortNumber
	 */
	public Integer getSortNumber() {
		return sortNumber;
	}

	/**
	 * @param sortNumber
	 *            the sortNumber to set
	 */
	public void setSortNumber(Integer sortNumber) {
		this.sortNumber = sortNumber;
	}

}